home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Installation Tools & Overlays 2001 November
/
SGI IRIX Installation Tools & Overlays 2001 November - Disc 3.iso
/
dist
/
cluster_services.idb
/
var
/
cluster
/
cmgr-templates
/
cmgr-create-cluster.z
/
cmgr-create-cluster
Wrap
Text File
|
2001-10-10
|
2KB
|
63 lines
#
# The following cluster_mgr script allows users to define a cluster in the
# CDB. This script has to run as "/usr/cluster/bin/cluster_mgr -f".
# Replace all the values that are within "<<" and ">>" with values appropriate
# for the cluster and run the script.
#
#
# Name of the cluster.
#
define cluster <<name of the cluster>>
#
#
# Creating a cluster for failsafe use. Set is_failsafe variable to true if
# cluster is configured for failsafe use
# Default value: false
set is_failsafe to <<true|false>>
#
# Creating a cluster for CXFS use. Set is_cxfs variable to true if
# cluster is configured for CXFS use
# Default value: false
set is_cxfs to <<true|false>>
#
# Cluster ID. Specify a CXFS cluster ID. If there are more than one
# CXFS cluster on the network, they each need a unique CXFS cluster ID.
# A cluster ID is an integer between 1 and 265.
# The cluster ID is mandatory only for CXFS clusters.
# set clusterid to <<unique cluster id>>
#
# Notification command for the cluster. This is optional. If this field is
# not specified, /usr/bin/mail command is used for notification. Notification
# is sent when there is change in status of cluster, node and resource group.
#
# set notify_cmd to <<command path>>
#
# Notification address for the cluster. This field value is passed as
# argument to the notification command. This field is optional. If notification
# address is not provided, notification command should not require an
# notification address argument. If both notification address and
# notification command are not specified, notification are sent for this
# cluster.
# Example value: failsafe_alias@sysadm.company.com
# set notify_addr to <<notification address>>
#
# List of nodes added to the cluster.
# Repeat the following line for each node to be added to the cluster.
# Node should be already defined in the CDB and logical name of the
# node has to be specified.
add node <<logical name of the node>>
#
# Add more nodes to the cluster here.
#
#
# Cluster definition complete
#
done
#
# Script complete. This should be last line of the script
#
quit